﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace GCT.Foundation
{
    public static class FoundationTemplateConfigs
    {
        /// <summary>
        /// 本地化配置
        /// </summary>
        public static class Localization
        {
            /// <summary>
            /// 源名称，默认值为 FoundationTemplate
            /// </summary>
            public static string SourceName { get; set; } = "FoundationTemplate";
        }

        /// <summary>
        /// EFCore配置
        /// </summary>
        public static class Database
        {
            /// <summary>
            /// 跳过DbContext注册
            /// </summary>
            public static bool SkipDbContextRegistration { get; set; }

            /// <summary>
            /// 跳过种子数据
            /// </summary>
            public static bool SkipDbSeed { get; set; }
        }

        /// <summary>
        /// SignalR Redis配置
        /// </summary>
        public static class SignalRRedis
        {
            public static int SignalRDatabaseId = -1;
            public static string ConnectionSignalRString = "";
        }
    }
}
